<div class="widget grid12">
    <div class="whead"><h6>FORMULARIO DE EDICION DEL PRODUCTO DE INVENTARIO </h6><div class="clear"></div></div>
    <?php echo $this->Form->create('Inventario', array('id' => "validate")); ?>
        <div class="formRow">
        <table >
          <tr>
            <td>Producto:</td>
            <td>
                <?php echo $producto['Producto']['nombre'];?>
                <?php echo $this->Form->hidden('producto_id',array('value'=>$producto['Producto']['id']));?>
                <?php echo $this->Form->hidden('almacen_id',array('value'=>$producto['Almacene']['id']));?>
            </td>
          </tr>
          <tr>
            <td>Ancho Actual:</td>
            <td>
                <?php echo $producto['Inventario']['ancho'];?>
            </td>
            <td>Ancho a Dividir:</td>
            <td>
                <?php echo $this->Form->text('ancho');?>
            </td>
          </tr>
          <tr>
            <td>Alto Actual:</td>
            <td>
                <?php echo $producto['Inventario']['alto'];?>
            </td>
            <td>Alto a Dividir:</td>
            <td>
                <?php echo $this->Form->text('alto');?>
            </td>
          </tr>
          <tr>
            <td>Litros Actuales:</td>
            <td>
                <?php echo $producto['Inventario']['litros'];?>
            </td>
            <td>Litros a Dividir:</td>
            <td>
                <?php echo $this->Form->text('litros');?>
            </td>
          </tr>
            </table>         
        </div>
</div>
<div class="actions-right">
<?php $options = array('label' => 'Dividir','class' => 'buttonS bGreen','id' => 'btEnvia');echo $this->Form->end($options);?> 
        <p></p>
        <?php echo $this->Html->link("Volver &raquo;", array('controller'=>'Facturas', 'action'=>'index'), array('class'=>'buttonS bLightBlue', 'escape' => FALSE)); ?>
</div>